package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Address;
import com.itheima.pojo.CheckItem;

import java.util.List;

/**
 * @ClassName: AddressService
 * @author: ZK
 * @data: 2020/3/7 14:21
 * @Description:
 */
public interface AddressService {
    public void add(Address address);
    public void delete(Integer id);
    public void edit(Address address);
    public List<Address> findAll();
    public PageResult findPage(QueryPageBean queryPageBean);
    public Address findById(Integer id);
          PageResult  pageQyery(Integer currentPage, Integer pageSize, String queryString);

}
